import { WeaTools } from 'ecCom';

export const getSuperviseOperation = params => WeaTools.callApi('/api/odoc/odocSupervise/getSuperviseOperation', 'POST', params);

export const saveSuperviseOperation = params => WeaTools.callApi('/api/odoc/odocSupervise/saveSuperviseOperation', 'POST', params);

export const getCirculationOpinions = params => WeaTools.callApi('/api/odoc/odocNewTodoList/getCirculationOpinions', 'POST', params);

export const removeTracksReq = params => WeaTools.callApi('/api/odoc/odocNewTodoList/removeTracksReq', 'POST', params);

export const getCustomPageListStatus = params => WeaTools.callApi('/api/odoc/odocCustomPage/getCustomPageListStatus', 'POST', params);

export const getCustomBatchBtn = params => WeaTools.callApi('/api/odoc/odocCustomPage/getCustomBatchBtn', 'POST', params);

export const getBatchLimit = params => WeaTools.callApi('/api/workflow/reqlist/splitPageKey', 'POST', params);

// 批量提交时，获取二次验证的配置信息
export const getSecondAuthConfig4List = params => WeaTools.callApi('/api/workflow/secondauth/getSecondAuthConfig4List', 'POST', params);

// 批量提交时，获取二次验证的配置信息
export const requestBatchSubmit = params => WeaTools.callApi('/api/workflow/reqform/requestBatchSubmit', 'POST', params);

